<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/tld/extremecomponents" prefix="ec"%>
<%@ include file="../../common/common.jsp"%>
<%@ include file="master_pass.jsp"%>
<% 	
masterLogin.hasPermission(4003);
//权限判断代码结束
IUserGradeService userGradeService = (IUserGradeService)BeanManager.getBean("userGradeService");
userGradeService.AutoBindingTable(request);
%>


<html>
	<head>
		<title><%=SYSTITLE%> - 社区用户等级权限管理</title>
		<%@ include file="../../common/meta.inc"%>
		<link href="css.css" rel="stylesheet" type="text/css">
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/extremetable/extremecomponents.css" />
		<script language="javascript">
function permissionInfo(id)
{
	location.href = "user_grade_permission_info.jsp?gradeId="+id+"&queryFlag=0";
}
</script>
	</head>
	<body leftMargin=5 topMargin=10 rightmargin="0" bottommargin="0">
		<table width="99%" border="0" align="center" cellpadding="2"
			cellspacing="2" bgcolor="#e6e6e6">
			<tr>
				<td align="center">
					<strong>配置社区用户等级权限</strong>
				</td>
			</tr>
		</table>
		<ec:table items="resultList" var="rs" retrieveRowsCallback="limit"
			sortRowsCallback="limit"
			action="${pageContext.request.contextPath}/club/admin/user_grade.jsp"
			title="社区用户等级权限">
			<ec:row>
				<ec:column property="GRADE_ID" title="序号">
					<input type="checkbox" name="gradeId" value="${rs.GRADE_ID}">${rs.GRADE_ID}
				</ec:column>
				<ec:column property="GRADE_NAME" title="等级名称" />
				<ec:column property="REMARK" title="备注" width="30%" />
				<ec:column property="1" title="操作" width="25%">
					<input type="button" name="btnInfo" value="修改权限"
						onclick="javascript:permissionInfo(${rs.GRADE_ID})">
				</ec:column>
			</ec:row>
		</ec:table>
		<table border="0" width="100%">
			<tr valign="top">
				<td align="right">
					<button class="btn" accessKey=r id="btnRefresh" name="btnRefresh"
						title="刷新当前页面"
						onclick="javascript:location.reload();this.disabled=true;">
						刷新(
						<u>R</u>)
					</button>
					&nbsp;&nbsp;&nbsp;
				<td>
			</tr>
		</table>
	</body>
</html>
